MailPoet\Config\Initializer A

Total Complexity 57
Dependencies 48
Dependents 2
Total lines 500
Lines of code 299
Logical lines of code 169
Comment lines 48
Methods 31
Properties 31

Methods 31

Method Rating Maintainability Complexity Lines of code
afterPluginActivation()
S
64 7 8
init()
S
41 2 71
initialize()
S
50 3 31
setupUpdater()
S
59 4 14
postInitialize()
S
63 3 11
__construct()
S
48 1 32
setupWoocommerceBlocksIntegration()
S
69 3 7
maybeDbUpdate()
S
63 3 10
setupWoocommerceTransactionalEmails()
S
67 3 8
runActivator()
S
64 3 10
preInitialize()
S
64 2 11
handleRunningMigration()
S
71 2 6
handleFailedInitialization()
S
71 2 6
setupUserLocale()
S
72 2 5
multisiteDropTables()
S
63 1 11
setupPersonalDataErasers()
S
77 1 4
runDeactivation()
S
82 1 3
setupAutomaticEmails()
S
78 1 4
setupPermanentNotices()
S
82 1 3
setupConflictResolver()
S
77 1 4
setupPersonalDataExporters()
S
82 1 3
setupPrivacyPolicy()
S
77 1 4
setupPages()
S
75 1 4
setupCronTrigger()
S
80 1 3
setupImages()
S
80 1 3
setupShortcodes()
S
82 1 3
setupCapabilities()
S
76 1 4
setupLocalizer()
S
81 1 3
setupInstaller()
S
72 1 6
setupWidget()
S
81 1 3
setupDeactivationPoll()
S
75 1 4